.class Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;
.super Ljava/lang/Object;
.source "CommunityUserRankingAdapter.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->getChildView(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;

.field final synthetic val$model:Lcom/brixd/niceapp/community/model/RankingUserModel;

.field final synthetic val$rankingUserCategoryModel:Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;Lcom/brixd/niceapp/community/model/RankingUserModel;)V
    .registers 4
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;

    .prologue
    .line 152
    iput-object p1, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;

    iput-object p2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$rankingUserCategoryModel:Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;

    iput-object p3, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingUserModel;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 7
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 156
    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;

    # getter for: Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mActivity:Landroid/app/Activity;
    invoke-static {v2}, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->access$000(Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;)Landroid/app/Activity;

    move-result-object v2

    const-string v3, "RankingTypeUsersClicks"

    iget-object v4, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$rankingUserCategoryModel:Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;

    iget-object v4, v4, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;->rankingName:Ljava/lang/String;

    invoke-static {v2, v3, v4}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 157
    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;

    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$rankingUserCategoryModel:Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;

    iget-object v4, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingUserModel;

    # invokes: Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->trackRankUserClickEvent(Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;Lcom/brixd/niceapp/community/model/RankingUserModel;)V
    invoke-static {v2, v3, v4}, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->access$100(Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;Lcom/brixd/niceapp/community/model/RankingUserModel;)V

    .line 159
    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;

    # getter for: Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mActivity:Landroid/app/Activity;
    invoke-static {v2}, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->access$000(Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;)Landroid/app/Activity;

    move-result-object v2

    const-class v3, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 160
    .local v1, "intent":Landroid/content/Intent;
    new-instance v0, Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-direct {v0}, Lcom/brixd/niceapp/model/CommonUserModel;-><init>()V

    .line 161
    .local v0, "commonUserModel":Lcom/brixd/niceapp/model/CommonUserModel;
    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingUserModel;

    iget v2, v2, Lcom/brixd/niceapp/community/model/RankingUserModel;->userId:I

    invoke-virtual {v0, v2}, Lcom/brixd/niceapp/model/CommonUserModel;->setUserId(I)V

    .line 162
    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingUserModel;

    iget-object v2, v2, Lcom/brixd/niceapp/community/model/RankingUserModel;->name:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/brixd/niceapp/model/CommonUserModel;->setUserName(Ljava/lang/String;)V

    .line 163
    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingUserModel;

    iget-object v2, v2, Lcom/brixd/niceapp/community/model/RankingUserModel;->career:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/brixd/niceapp/model/CommonUserModel;->setUserIntro(Ljava/lang/String;)V

    .line 164
    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingUserModel;

    iget-object v2, v2, Lcom/brixd/niceapp/community/model/RankingUserModel;->iconUrl:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/brixd/niceapp/model/CommonUserModel;->setAvatarUrl(Ljava/lang/String;)V

    .line 165
    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingUserModel;

    iget-object v2, v2, Lcom/brixd/niceapp/community/model/RankingUserModel;->bgColor:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/brixd/niceapp/model/CommonUserModel;->setBgColor(Ljava/lang/String;)V

    .line 166
    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingUserModel;

    iget-object v2, v2, Lcom/brixd/niceapp/community/model/RankingUserModel;->gender:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/brixd/niceapp/model/CommonUserModel;->setGender(Ljava/lang/String;)V

    .line 167
    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->val$model:Lcom/brixd/niceapp/community/model/RankingUserModel;

    iget v2, v2, Lcom/brixd/niceapp/community/model/RankingUserModel;->identity:I

    invoke-virtual {v0, v2}, Lcom/brixd/niceapp/model/CommonUserModel;->setUserIdentity(I)V

    .line 168
    const-string v2, "UserModel"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 169
    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;->this$0:Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;

    # getter for: Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mActivity:Landroid/app/Activity;
    invoke-static {v2}, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->access$000(Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;)Landroid/app/Activity;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    .line 170
    return-void
.end method
